import time
import unittest
from tools import HTMLTestRunner
from scripts.test01_assert import TestComm

suite = unittest.TestSuite()
suite.addTest(unittest.makeSuite(TestComm))

report = "./report/report-{}.html".format(time.strftime("%Y%m%d-%H%M%S"))
with open(report, 'wb')as f:
    runner = HTMLTestRunner.HTMLTestRunner(f, title='test')
    runner.run(suite)
